using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Daemon.Model
{
    [Table("${tableName}")]
    public partial class ${entity.ClassName}
    { $for(field in entity.FieldDto)$if(field.FieldName==primaryKey)
        [Key]
        [Column("${primaryKey}")]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]        ${end}
        public ${field.FieldType} ${field.FieldName} {get;set;}        $end
    }
}
